package com.zhuangxiaoyan.helloworld.config;

import com.zhuangxiaoyan.helloworld.entity.MyPostProcessorBean;
import com.zhuangxiaoyan.helloworld.entity.User;
import org.springframework.context.annotation.Bean;

/**
 * @Classname BeanConfig
 * @Description TODO
 * @Date 2022/4/24 11:55
 * @Created by xjl
 */
public class BeanConfig {
    @Bean
    public User user() {
        return new User();
    }

    @Bean
    public MyPostProcessorBean myPostProcessorBean() {
        return new MyPostProcessorBean();
    }
}
